home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / raytrace / radiance / simplerd.lha / simplerad / FinalFTP / Prims / mkdata < prev    next >
Encoding:
Text File  |  1992-07-13  |  779 b   |  25 lines

  1. #
  2. # Create data files for mesh cone, cube cylinder and sphere, with
  3. # normals faceing inward. May, 1992.
  4. #
  5. echo "Meshing cone, with normals facing in"
  6. mprims 1 0 > data/in.cone
  7. echo "Meshing cube with normals facing in"
  8. mprims 2 0 > data/in.cube
  9. echo "Meshing cylinder with normals facing in"
  10. mprims 3 0 > data/in.cyl
  11. echo "Meshing sphere with normals facing in"
  12. mprims 4 0 > data/in.sphere
  13. #
  14. # Create data files for mesh cone, cube cylinder and sphere, with
  15. # normals facing outward.
  16. #
  17. echo "Meshing cone, with normals facing out"
  18. mprims 1 1 > data/out.cone
  19. echo "Meshing cube with normals facing out"
  20. mprims 2 1 > data/out.cube
  21. echo "Meshing cylinder with normals facing out"
  22. mprims 3 1 > data/out.cyl
  23. echo "Meshing sphere with normals facing out"
  24. mprims 4 1 > data/out.sphere
  25.